#include <Utils.h>
|
| static int | binary_search (const std::vector< T > &vec, unsigned int start, unsigned int end, const T &key) |
| |
template<class T >
| int ccmc::Utils< T >::binary_search |
( |
const std::vector< T > & |
vec, |
|
|
unsigned int |
start, |
|
|
unsigned int |
end, |
|
|
const T & |
key |
|
) |
| |
|
static |
Modified from wikibooks implementation of c++ binary search.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- /Users/apembrok/Documents/workspaces/workspace.bak2/workspace.backup/kameleon-plus/src/ccmc/Utils.h